<!DOCTYPE html>
<html lang='en'>

<head>
    <meta charset='UTF-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <title>Document</title>
    <script src='../../vue.js'></script>
</head>

<body>
    <div id="app">
        <h1>{{msg}}</h1>
        <p>{{count}}</p>
        <p>{{isHot?'热':'冷'}}</p>
        <p>{{arry}}</p>
        <p>{{obj}}</p>
        <p>{{null}}</p>
        <p>{{undefined}}</p>
        <p>{{or}}</p>

    </div>
    <script>
        /* 设置为 false 以阻止 vue 在启动时生成生产提示 */
        Vue.config.productionTip = false;
        const vm = new Vue({
            el: "#app",
            data() {
                return {
                    msg:'这是一个字符',
                    count:'12321',
                    isHot:false,
                    arry:['1','2'],
                    obj:{
                        a:1,
                        b:2
                    },
                    or:undefined
                }
            }
        })
    </script>
</body>
</html>